package events
{
	/**
	 * 与数据库操作的事件
	 * wuxi create on 2012-10-25 10:49:54
	 * */
	import flash.events.Event;
	
	public class DBEvent extends Event
	{
		/**
		 * 查询完地图列表
		 * */
	    public static var QUERY_MAPS:String = "QUERY_MAPS";
		/**
		 * 查询完npc列表
		 * */
		public static var QUERY_NPCS:String = "QUERY_NPCS";
		/**
		 * 查询完怪物列表
		 * */
		public static var QUERY_MONSTERS:String = "QUERY_MONSTERS";
		
		private var _data:Object;
		public function DBEvent(type:String,data:Object = null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			this._data = data;
			super(type, bubbles, cancelable);
		}
		
		public function get data():Object{
			return _data;
		}
		
	}
}